To create the octagon, left click once and drag to create the radius in any desired direction, the rest of the shape will form on its own. You can also play with the one I have already created to see what happens to the shape as you move the center point around.